/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xos_ffmpeg.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __SDL2_IMPL_SDL2_IMPL_H__
#define __SDL2_IMPL_SDL2_IMPL_H__

namespace xos_ffmpeg
{
    class sdl2_mem;

    class sdl2_impl
    {
    public:
        sdl2_impl();
        ~sdl2_impl();

    public:
        static int static_init();
        static int static_term();

    protected:
        sdl2_mem * m_pObj;

    public:
        int notify();
        int heart();
        int wait();
        int init();
        int term();

    };

} // xos_ffmpeg

#endif // __SDL2_IMPL_SDL2_IMPL_H__
